<%@ page import="com.pijunn.label.LabeledItem" %>



<div class="fieldcontain ${hasErrors(bean: labeledItemInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="labeledItem.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${labeledItemInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: labeledItemInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="labeledItem.description.label" default="Description" />
		
	</label>
	<g:textField name="description" value="${labeledItemInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: labeledItemInstance, field: 'label', 'error')} required">
	<label for="label">
		<g:message code="labeledItem.label.label" default="Label" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="label" name="label.id" from="${myUnassignedLabels}" optionKey="id" required="" value="${labeledItemInstance?.label?.id}" class="many-to-one"/>
</div>

